import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {WmsStockPutComponent} from './wms-stock-put.component';

const routes: Routes = [
    {path: '', component: WmsStockPutComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'save', loadChildren: './save/save-wms-stock-put.module#SaveWmsStockPutModule'},
            {path: 'add', loadChildren: './add-wms-stock-put/add-wms-stock-put.module#AddWmsStockPutModule'},
            {path: 'list', loadChildren: './list-wms-stock-put/list-wms-stock-put.module#ListWmsStockPutModule'},
            {path: 'modify', loadChildren: './modify-wms-stock-put/modify-wms-stock-put.module#ModifyWmsStockPutModule'},
            {path: 'report', loadChildren: './report-wms-stock-put/report-wms-stock-put.module#ReportWmsStockPutModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class WmsStockPutRoutingModule {
}
